package net.shopxx.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OrderBy;
import javax.persistence.Transient;

import net.sf.json.JSONArray;
import net.sf.json.JSONSerializer;
import net.shopxx.util.SystemConfigUtil;

import org.apache.commons.lang.StringUtils;
import org.hibernate.annotations.Cascade;
import org.hibernate.annotations.CascadeType;
import org.hibernate.annotations.CollectionOfElements;
import org.hibernate.annotations.LazyCollection;
import org.hibernate.annotations.LazyCollectionOption;
import org.hibernate.annotations.MapKey;

/**
 * 实体类 - 会员视力档案
 * ============================================================================
 */

@Entity
public class MemberShili extends BaseEntity {

	private static final long serialVersionUID = 1533130686714725835L;
	
	private String paihao;// 排号	
	private String shouji;// 手机	
	private String address;// 地址
	private String xingming;// 姓名	
	private String yanguangNo;// 验光单号
	
	
	private String rsph;// 球镜	
	private String rcyl;// 柱镜	
	private String rax;// 轴位	
	private String rlysl;//裸眼视力	
	private String rjzsl;// 矫正视力	
	private String rde;// 主导眼	
	private String rp;// 棱镜	
	private String rbase;// 基底	
	private String rph;// 瞳高	
	private String radd;// 下加光
	
	private String rtongju;// 右瞳距
	
	
	private String lsph;// 球镜	
	private String lcyl;// 柱镜	
	private String lax;// 轴位	
	private String llysl;//裸眼视力	
	private String ljzsl;// 矫正视力	
	private String lde;// 主导眼	
	private String lp;// 棱镜	
	private String lbase;// 基底	
	private String lph;// 瞳高	
	private String ladd;// 下加光
	
	private String ltongju;// 左瞳距
	
	
	
	private String shiguangshi;// 视力师	
	private String tongju;// 总瞳距	
	private String isYuan;//远用近用
	private String tiaojiefyl;//调节反应量
	private String customerName;// 顾客签名	
	private Date yanguanDate;// 验光日期
	
	
	private String memo;// 备注
	
	
	
	private Member member;// 会员







	public String getPaihao() {
		return paihao;
	}







	public void setPaihao(String paihao) {
		this.paihao = paihao;
	}







	public String getShouji() {
		return shouji;
	}







	public void setShouji(String shouji) {
		this.shouji = shouji;
	}







	public String getXingming() {
		return xingming;
	}







	public void setXingming(String xingming) {
		this.xingming = xingming;
	}







	public String getYanguangNo() {
		return yanguangNo;
	}







	public void setYanguangNo(String yanguangNo) {
		this.yanguangNo = yanguangNo;
	}







	public String getRsph() {
		return rsph;
	}







	public void setRsph(String rsph) {
		this.rsph = rsph;
	}







	public String getRcyl() {
		return rcyl;
	}







	public void setRcyl(String rcyl) {
		this.rcyl = rcyl;
	}







	public String getRax() {
		return rax;
	}







	public void setRax(String rax) {
		this.rax = rax;
	}







	public String getRlysl() {
		return rlysl;
	}







	public void setRlysl(String rlysl) {
		this.rlysl = rlysl;
	}







	public String getRjzsl() {
		return rjzsl;
	}







	public void setRjzsl(String rjzsl) {
		this.rjzsl = rjzsl;
	}







	public String getRde() {
		return rde;
	}







	public void setRde(String rde) {
		this.rde = rde;
	}







	public String getRp() {
		return rp;
	}







	public void setRp(String rp) {
		this.rp = rp;
	}







	public String getRbase() {
		return rbase;
	}







	public void setRbase(String rbase) {
		this.rbase = rbase;
	}







	public String getRph() {
		return rph;
	}







	public void setRph(String rph) {
		this.rph = rph;
	}







	public String getRadd() {
		return radd;
	}







	public void setRadd(String radd) {
		this.radd = radd;
	}







	public String getLsph() {
		return lsph;
	}







	public void setLsph(String lsph) {
		this.lsph = lsph;
	}







	public String getLcyl() {
		return lcyl;
	}







	public void setLcyl(String lcyl) {
		this.lcyl = lcyl;
	}







	public String getLax() {
		return lax;
	}







	public void setLax(String lax) {
		this.lax = lax;
	}







	public String getLlysl() {
		return llysl;
	}







	public void setLlysl(String llysl) {
		this.llysl = llysl;
	}







	public String getLjzsl() {
		return ljzsl;
	}







	public void setLjzsl(String ljzsl) {
		this.ljzsl = ljzsl;
	}







	public String getLde() {
		return lde;
	}







	public void setLde(String lde) {
		this.lde = lde;
	}







	public String getLp() {
		return lp;
	}







	public void setLp(String lp) {
		this.lp = lp;
	}







	public String getLbase() {
		return lbase;
	}







	public void setLbase(String lbase) {
		this.lbase = lbase;
	}







	public String getLph() {
		return lph;
	}







	public void setLph(String lph) {
		this.lph = lph;
	}







	public String getLadd() {
		return ladd;
	}







	public void setLadd(String ladd) {
		this.ladd = ladd;
	}







	@ManyToOne(fetch = FetchType.LAZY)
	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}






	public String getShiguangshi() {
		return shiguangshi;
	}







	public void setShiguangshi(String shiguangshi) {
		this.shiguangshi = shiguangshi;
	}







	public String getCustomerName() {
		return customerName;
	}







	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}







	public Date getYanguanDate() {
		return yanguanDate;
	}







	public void setYanguanDate(Date yanguanDate) {
		this.yanguanDate = yanguanDate;
	}







	public String getTongju() {
		return tongju;
	}







	public void setTongju(String tongju) {
		this.tongju = tongju;
	}







	public String getAddress() {
		return address;
	}







	public void setAddress(String address) {
		this.address = address;
	}







	public String getIsYuan() {
		return isYuan;
	}







	public void setIsYuan(String isYuan) {
		this.isYuan = isYuan;
	}







	public String getTiaojiefyl() {
		return tiaojiefyl;
	}







	public void setTiaojiefyl(String tiaojiefyl) {
		this.tiaojiefyl = tiaojiefyl;
	}







	public String getMemo() {
		return memo;
	}







	public void setMemo(String memo) {
		this.memo = memo;
	}







	public String getRtongju() {
		return rtongju;
	}







	public void setRtongju(String rtongju) {
		this.rtongju = rtongju;
	}







	public String getLtongju() {
		return ltongju;
	}







	public void setLtongju(String ltongju) {
		this.ltongju = ltongju;
	}


}